package com.yinile.zc03.domain;

import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.yinile.zc03.domain.pk.MidBookAuthorKey;

@Entity
@Table(schema="db1", name="tm_book_author")
public class MidBookAuthor {
	
	@EmbeddedId
	private MidBookAuthorKey id;

	public MidBookAuthorKey getId() {
		return id;
	}

	public void setId(MidBookAuthorKey id) {
		this.id = id;
	}

}
